<?php
/**
 * Create by Phpstorm
 * User: Peco
 * Date: 2019/11/20
 * Time: 11:38
 * GetBannerPageTransformer.php
 */


namespace App\Http\Transformers\Supplier;

use App\Models\Supplier;
use League\Fractal\TransformerAbstract;

class GetSupplierPageTransformer extends TransformerAbstract
{
    public function transform(Supplier $supplier)
    {
        return $supplier->toArray();
    }
}
